<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.html"/>
<link type="text/css" rel="stylesheet" href="cal/dhtmlgoodies_calendar/dhtmlgoodies_calendar.css?random=20051112" media="screen"></link>
	<script type="text/javascript" src="cal/dhtmlgoodies_calendar/dhtmlgoodies_calendar.js?random=20060118"></script>
	
</head>
<body>
	<div id="head"><h1>KRS</h1></div>
	<jsp:include page="menu.html"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
		<form method="post" action="SaveEvent.s">
			<table class="editing">
				<colgroup>
					<col class="attribute"/>
					<col class="value"/>
				</colgroup>
				<tbody>
					<tr>
						<td>Datum der Veranstaltung:</td>
						<td>
							<input type="hidden" name="id" value='<c:out value="${event.id}"/>'/>
							<input type="text" name="datum" value='<c:out value="${event.datum}"/>' size="10" />
							<input type="button" value="Datum wählen" onclick="displayCalendar(document.forms[0].datum,'dd.mm.yyyy',this)">
						</td>						
					</tr>
					<tr>
						<td>Uhrzeit der Veranstaltung:</td>
						<td>
							<input type="text" name="zeit" value='<c:out value="${event.zeit}"/>' size="10" />
						</td>						
					</tr>
					<tr>
						<td>Name der Veranstaltung:</td>
						<td>
							<input type="text" name="name" value='<c:out value="${event.name}"/>' size="50" />
						</td>						
					</tr>
					<tr>
						<td>Preis Loge:</td>
						<td>
							<input type="text" name="preis_loge" value='<c:out value="${event.preis_loge}"/>' size="10" /> €
						</td>						
					</tr>
					<tr>
						<td>Preis Regulär:</td>
						<td>
							<input type="text" name="preis_reg" value='<c:out value="${event.preis_reg}"/>' size="10" /> €
						</td>						
					</tr>
					<tr>
						<td>Theater:</td>
						<td>
				<!--  		<select name="theater">
							<c:forEach items="${theater}" var="theater">
										<option value="${theater.id}">${theater.name}</option>
									</c:forEach>
							</select>
							-->
							<input type="text" name="theater" value='<c:out value="${event.theater}"/>' size="50" />
						</td>						
					</tr>
					<tr class="submit">
						<td colspan="2">
								<input type="submit" value=" Änderungen übernehmen "/>
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>  